package com.zetor.ms.utils;

import java.util.concurrent.ThreadLocalRandom;

/**
 * TODO
 *
 * @Author zlc
 * @Date 2021/6/28
 */
public class HisRandomUtil {
    public static int getRandCode() {
        return ThreadLocalRandom.current().nextInt(10000, 99999);
    }

    public static void main(String ss[]) {
        for (int i = 0; i < 20; i++) {
            System.out.println(getRandCode());
        }
    }
}
